shapes:obj/shape.o obj/sphere.o obj/triangle.o obj/triangle_mesh.o
   
INC_PATH=../

obj/shape.o:shape.h shape.cc 
	g++ -I$(INC_PATH) -c shape.cc
	mv shape.o obj/

obj/sphere.o:sphere.h sphere.cc
	g++ -I$(INC_PATH) -c sphere.cc
	mv sphere.o obj/

obj/triangle.o:triangle.h triangle.cc
	g++ -I$(INC_PATH) -c triangle.cc
	mv triangle.o obj/

obj/triangle_mesh.o:triangle_mesh.h triangle_mesh.cc
	g++ -I$(INC_PATH) -c triangle_mesh.cc
	mv triangle_mesh.o obj/


clean:
	rm -f obj/*.o
